package cn.cdeden.aiqa.service;

import cn.cdeden.aiqa.domain.bo.Message;
import reactor.core.publisher.Flux;

import java.util.List;

public interface OllamaService {
    /**
     * 对话
     * @param url
     * @param model
     * @param messages
     * @return
     */
    Flux<String> chatWithOllama(String url, String model, List<Message> messages);
}
